<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src="/js/plugin/jquery-2.2.4.min.js"></script>
<script type="text/javascript">
$(function(){

	$.ajax({  
         url:"http://192.168.2.250:8080/userCalc/calc",  
         type:"post",  
         data: {"userid": 1,
        	      "width": 10.23,
        	      "height": 25.36,
        	      "coverplateThick": 1.3,
        	      "coverplatePrice": 2.59,
        	      "bottomplateThick": 7.7,
        	      "bottomplatePrice": 6.26,
        	      "partitionplateThick": 6.26,
        	      "partitionplatePrice": 5.25,
        	      "partitionplateNum": 5,
        	      "density": 7.93,
        	      "province": "河南省"
          },  
         dataType:"json",  
         async:false,  
         cache:false,
         success:function(data){  
            alert(data.success+":"+data.msg+",槽式价格: "+ data.data.trenchPrice+",梯式价格: " + data.data.laddertypePrice);  
        }  
  
     })  
});
</script>
</head>
<body>
测试页面


</body>
</html>